using UnityEngine;

[CreateAssetMenu(fileName = "New critDamagePotion", menuName = "Inventory/PowerUpItem/critDamagePotion（暴击伤害）")]
public class critDamagePotion : PowerUpItem
{
    public critDamagePotion()
    {
        critRateBoost = 10f;
    }

    public override void ApplyEffect(Player player)
    {
        base.ApplyEffect(player);
        Debug.Log($"玩家使用了{itemName}，暴击伤害增加了 {critRateBoost} 点。");
    }
}